#include <iostream>
#include<math.h>
using namespace std;
int main() {
    int n, cnt, i;
    while (cin >> n)
    {
        cnt = 0;
        for (i = 2; i <= sqrt(n); i++)
        {
            if ((n % i) == 0)
            {
                while ((n % i) == 0)
                    n = n / i;
                cnt++;
            }
        }
        if (n != 1)
            cnt++;
        cout << cnt << endl;
    }
    return 0;
}